package com.example.backend.service;

import org.springframework.stereotype.Service;

@Service
public class DeviceService {
    public String openDevice(String deviceName) {
        //todo 具体的操作
        String res = "设备已打开";
        return res;
    }

    public String closeDevice(String deviceName) {
        //todo 具体的操作
        String res = "设备已关闭";
        return res;
    }
}
